home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.Sound < prev    next >
Encoding:
Text File  |  1990-04-03  |  2.3 KB  |  70 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Sound
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. noDOCFndErr EQU $0810  ; no DOC chip found
  9. docAddrRngErr EQU $0811  ; DOC address range error
  10. noSAppInitErr EQU $0812  ; no SAppInit call made
  11. invalGenNumErr EQU $0813  ; invalid generator number
  12. synthModeErr EQU $0814  ; synthesizer mode error
  13. genBusyErr EQU $0815  ; generator busy error
  14. mstrIRQNotAssgnErr EQU $0817  ; master IRQ not assigned
  15. sndAlreadyStrtErr EQU $0818  ; sound tools already started
  16. unclaimedSndIntErr EQU $08FF  ; sound tools already started
  17. ffSynthMode EQU $0001  ; Free form synthesizer mode
  18. noteSynthMode EQU $0002  ; Note synthesizer mode.
  19. gen0off EQU $0001  ; param to FFStopSound
  20. gen1off EQU $0002  ; param to FFStopSound
  21. gen2off EQU $0004  ; param to FFStopSound
  22. gen3off EQU $0008  ; param to FFStopSound
  23. gen4off EQU $0010  ; param to FFStopSound
  24. gen5off EQU $0020  ; param to FFStopSound
  25. gen6off EQU $0040  ; param to FFStopSound
  26. gen7off EQU $0080  ; param to FFStopSound
  27. gen8off EQU $0100  ; param to FFStopSound
  28. gen9off EQU $0200  ; param to FFStopSound
  29. gen10off EQU $0400  ; param to FFStopSound
  30. gen11off EQU $0800  ; param to FFStopSound
  31. gen12off EQU $1000  ; param to FFStopSound
  32. gen13off EQU $2000  ; param to FFStopSound
  33. gen14off EQU $4000  ; param to FFStopSound
  34. genAvail EQU $0000  ; Generator available status
  35. ffSynth EQU $0100  ; Free Form Synthesizer status
  36. noteSynth EQU $0200  ; Note Synthesizer status
  37. lastBlock EQU $8000  ; Last block of wave
  38. smReadRegister EQU $00  ; Read Register routine
  39. smWriteRegister EQU $04  ; Write Register routine
  40. smReadRam EQU $08  ; Read Ram routine
  41. smWriteRam EQU $0C  ; Write Ram routine
  42. smReadNext EQU $10  ; Read Next routine
  43. smWriteNext EQU $14  ; Write Next routine
  44. smOscTable EQU $18  ; Pointer to Oscillator table
  45. smGenTable EQU $1C  ; Pointer to generator table
  46. smGcbAddrTable EQU $20  ; Pointer to GCB address table
  47. smDisableInc EQU $24  ; Disable Increment routine
  48. ; offset constants for SoundParamBlock
  49. owaveStart EQU 0
  50. owaveSize EQU 4
  51. ofreqOffset EQU 6
  52. odocBuffer EQU 8
  53. obufferSize EQU 10
  54. onextWavePtr EQU 12
  55. ovolSetting EQU 16
  56. ; offset constants for DocRegParamBlk
  57. ooscGenType EQU 0
  58. ofreqLow1 EQU 2
  59. ofreqHigh1 EQU 3
  60. ovol1 EQU 4
  61. otablePtr1 EQU 5
  62. ocontrol1 EQU 6
  63. otableSize1 EQU 7
  64. ofreqLow2 EQU 8
  65. ofreqHigh2 EQU 9
  66. ovol2 EQU 10
  67. otablePtr2 EQU 11
  68. ocontrol2 EQU 12
  69. otableSize2 EQU 13
  70.